home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-12-16 | 2.5 KB | 67 lines | [TEXT/MPS ] |
- #========================================================================================
- #
- # File: FWSetBuildPaths
- # Release Version: $ ODF 3 $
- #
- # Copyright: (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
- #
- #========================================================================================
-
- #-----------------------------------------------------------------------
- # Location of the current build folder.
- #-----------------------------------------------------------------------
- Set FWBuildDir `Directory`
- Export FWBuildDir
- If ¬ `Exists "{FWBuildDir}"`
- Echo "FWSetBuildPaths: Can not find the build folder directory: {FWBuildDir}"
- Exit 1
- End
-
- #-----------------------------------------------------------------------
- # Parse the current directory to extract the compiler, processor and
- # build type
- #-----------------------------------------------------------------------
-
- Execute FWParseCurrentPathName
-
- #-----------------------------------------------------------------------
- # Location of the current build definitions.
- #-----------------------------------------------------------------------
- Set FWBldDefDir "{ODF}(Build Definitions):{FWProcessor}{FWBldType}:"
- Export FWBldDefDir
- If ¬ `Exists "{FWBldDefDir}"`
- Echo "FWSetBuildPaths: Can not find the build definitions directory: {FWBldDefDir}"
- Exit 1
- end
-
- #-----------------------------------------------------------------------
- # Location to put libraries.
- #-----------------------------------------------------------------------
- Set FWLibDir "{FWBuildDir}Lib:"
- Export FWLibDir
-
- #-----------------------------------------------------------------------
- # Location to put built parts.
- # (Assumed to be in the default directory.)
- #-----------------------------------------------------------------------
- Set FWBinDir ":Bin:"
- Export FWBinDir
-
- #-----------------------------------------------------------------------
- # Location to put objects.
- # (Assumed to be in the default directory.)
- #-----------------------------------------------------------------------
- Set FWObjDir ":Obj:"
- Export FWObjDir
-
- #-----------------------------------------------------------------------
- # Location to put Precompiled headers.
- # (If not specified then assume they are in the current build
- # environment in a folder named: "Precompile Headers:". [sfu])
- # This is working because we don't use Symantec to build the ODFLibrary
- #-----------------------------------------------------------------------
- #if ¬ "{FWPreCompHdrDir}"
- Set FWPreCompHdrDir "{ODF}{FWCompiler}{FWProcessor}{FWBldType}:Precompile∂ Headers:"
- Export FWPreCompHdrDir
- #End
-